package com.quanyan.activity.service;

import com.quanyan.activity.entity.ActivityInfo;

import java.util.List;
import java.util.Map;

/**
 * ActivityService
 *
 * @author Li Shuai
 * @date 16/5/26
 */
public interface ActivityService {

    /**
     * 创建活动
     */
    ActivityInfo saveActivity(ActivityInfo reqActivity);
    /**
     * 编辑活动
     */
    ActivityInfo updateActivity(ActivityInfo reqActivity);

    int deleteActivityById(Integer activityId);
    /**
     * 活动详情
     */
    ActivityInfo queryOneActivityById(Integer activityId);

    /**
     * 查询活动列表
     * @param
     * @return
     */
    List<ActivityInfo> queryActivityList(List<Integer> activityIdList);
    /**
     * 收藏 取消活动
     * @return
     */
    boolean collectActivity(Map<String,Integer> map);

}
